home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Backup / QUARTERBACK6'0.DMS / in.adf / Hard Drive Install < prev    next >
Encoding:
Text File  |  1993-11-30  |  3.9 KB  |  135 lines

  1. ; Quarterback/Schedule Pro Hard Disk Installer script
  2. ; Copyright (c) 1993 Central Coast Software, a division of New Horizons Software, Inc.
  3.  
  4. (if (< @user-level 1)
  5.     (user 1)
  6.     (user 2)
  7. )
  8.  
  9. (set @default-dest
  10.     (askdir
  11.         (prompt "Please select the drawer into which Quarterback is to be installed.")
  12.         (help "Quarterback and its associated files will be placed into the drawer selected here.")
  13.         (default "SYS:Utilities")
  14.     )
  15. )
  16.  
  17. (set answer
  18.     (askbool
  19.         (prompt "Do you wish to install the Quarterback program?")
  20.         (help "The Quarterback program is required to run Quarterback.  Choosing to install this program will place the Quarterback program in the drawer selected.")
  21.     )
  22. )
  23. (if answer
  24.     (
  25.         (askdisk
  26.             (prompt "Please insert the Quarterback disk in any drive.")
  27.             (help "The Quarterback disk contains the Quarterback program.")
  28.             (dest "Quarterback")
  29.         )
  30.         (copyfiles
  31.             (source "Quarterback:")
  32.             (dest @default-dest)
  33.             (choices "Quarterback")
  34.             (infos)
  35.         )
  36.         (tooltype
  37.             (dest (tackon @default-dest "Quarterback"))
  38.             (noposition)
  39.             (swapcolors)
  40.         )
  41.         (makedir
  42.             (tackon @default-dest "Macros")
  43.             (infos)
  44.         )
  45.     )
  46. )
  47.  
  48. (set answer
  49.     (askbool
  50.         (prompt "Do you wish to install the sample macros?\n\n(Click on \"Help\" for information about the sample macros.)")
  51.         (help "There are two sample macros included with Quarterback:  \"Backup\" and \"Multiple Backups\".\n\nThe \"Backup\" macro is a macro that can automatically perform a full backup of a specified volume.\n\nThe \"Multiple Backups\" macro is a macro that makes it easier to back up several volumes to a single tape.")
  52.     )
  53. )
  54. (if answer
  55.     (
  56.         (askdisk
  57.             (prompt "Please insert the Quarterback disk in any drive.")
  58.             (help "The Quarterback disk contains the sample macros.")
  59.             (dest "Quarterback")
  60.         )
  61.         ; Macros drawer is not created in "pretend" install
  62.         (if (exists (tackon @default-dest "Macros") (noreq))
  63.             (
  64.                 (copyfiles
  65.                     (source "Quarterback:Macros")
  66.                     (dest (tackon @default-dest "Macros"))
  67.                     (choices "Backup" "Multiple Backups")
  68.                     (infos)
  69.                 )
  70.                 (foreach (tackon @default-dest "Macros") "#?"
  71.                     (tooltype
  72.                         (dest (tackon @default-dest (cat "Macros/" @each-name)))
  73.                         (noposition)
  74.                         (swapcolors)
  75.                     )
  76.                 )
  77.             )
  78.         )
  79.         
  80.         (set answer
  81.             (askbool
  82.                 (prompt "Do you wish to install the \"QB FKeys\" file?\n\n(Click on \"Help\" for information about this file.)")
  83.                 (help "The \"QB FKeys\" file contains information that allows you to execute the sample macros either by pressing a function key or by choosing them from the \"Macros\" menu in Quarterback.\n\nIf you already have a \"QB FKeys\" file, then you may not want to install this file, since doing so would replace your previous function key assignments.")
  84.             )
  85.         )
  86.         (if answer
  87.             (
  88.                 (askdisk
  89.                     (prompt "Please insert the Quarterback disk in any drive.")
  90.                     (help "The Quarterback disk contains the \"QB FKeys\" file.")
  91.                     (dest "Quarterback")
  92.                 )
  93.                 (copyfiles
  94.                     (source "Quarterback:")
  95.                     (dest @default-dest)
  96.                     (choices "QB FKeys")
  97.                     (infos)
  98.                 )
  99.                 (tooltype
  100.                     (dest (tackon @default-dest "QB FKeys"))
  101.                     (noposition)
  102.                     (swapcolors)
  103.                 )
  104.             )
  105.         )
  106.     )
  107. )
  108.  
  109. (set answer
  110.     (askbool
  111.         (prompt "Do you wish to install the Schedule Pro program?\n\n(Click on \"Help\" for more information about Schedule Pro.)")
  112.         (help "Schedule Pro allows you to schedule automatic backups, automatically run other AmigaDOS or AREXX programs, or even automatically display reminders on your screen.\n\nChoosing to install this program will place the Schedule Pro program in the Quarterback drawer.")
  113.     )
  114. )
  115. (if answer
  116.     (
  117.         (askdisk
  118.             (prompt "Please insert the Quarterback disk in any drive.")
  119.             (help "The Quarterback disk contains the Schedule Pro program.")
  120.             (dest "Quarterback")
  121.         )
  122.         (copyfiles
  123.             (source "Quarterback:")
  124.             (dest @default-dest)
  125.             (choices "Schedule Pro")
  126.             (infos)
  127.         )
  128.         (tooltype
  129.             (dest (tackon @default-dest "Schedule Pro"))
  130.             (noposition)
  131.             (swapcolors)
  132.         )
  133.     )
  134. )
  135.